package com.limingru.newbee.service;

import com.limingru.newbee.api.param.MallUserUpdateParam;
import com.limingru.newbee.api.vo.UserVO;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;

public interface UserService {
    String login(String loginName, String passwordMD5);

    boolean logout(Long userId);

    String register( String loginName, String password);

    UserVO getUserInfo(String token);

    String update(MallUserUpdateParam userUpdateParam);
}
